CPP=g++

LINKS	= -lpthread /usr/local/ssl/lib/libssl.a /usr/lib/i386-linux-gnu/libstdc++.so.5

OBJS	= base64.o \
				CSmtp.o \
				md5.o \
				main.o

EXE		= test.out


INC		= -I/usr/include/openssl/
LIB		= -Lo

all:$(EXE)

$(EXE):$(OBJS)
		 $(CPP) $(CFLAGS) $(OBJS) $(LIB) -o $@  $(LINKS)

%.o:%.cpp
		 $(CPP) $(CFLAGS) $(INC) -c $(INC) $<

clean:
	rm -rf $(OBJS)
	rm -rf $(EXE)

